<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>任务列表</title>
</head>
<body>

<h2>任务管理页面</h2>
<%
	String aid=request.getParameter("aid");
	String pass=request.getParameter("pass");
%>
<s:iterator value="#tl.datas">
	任务名：${taskname }<br>
	任务内容：${context }<br>
	任务创建日期：${createDate }<br>
	任务提交日期：${lastDate }<br>
	是否完成：<s:if test="%{isFinish==true}">是</s:if><s:else>否</s:else><br>
	任务执行者：姓名：${user.username}---学号：${user.stuID }<br>
	<a href="admin_deletetask.action?tid=${tid }&aid=<%=aid%>&pass=<%=pass%>">删除</a>&nbsp;
	<a href="admin_updatetaskInput.action?tid=${tid }&aid=<%=aid%>&password=<%=pass%>">更新</a>
	<br>
	<br>
</s:iterator>
	
<jsp:include page="/inc/pager.jsp">
	<jsp:param value="admin_tasklist.action" name="url"/>
	<jsp:param value="${tl.totalRecord }" name="items"/>
</jsp:include>
<a href="admin_adminCMD.action?aid=<%=aid%>&pass=<%=pass%>">返回控制台</a>&nbsp;
</body>
</html>